This patch adds a check to make sure the config file passed to
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 4 Nov 2005 10:06:41 +0000 (11:06 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 4 Nov 2005 10:06:41 +0000 (11:06 +0100)
commitd0f9b588c0e0500272f6d646d36b51f10a1d749e
treedc8af325756a075e0f7bfa9ad7ce817e69379816
parent06c12463fcb3b3aa7fcd221ef406d5839c2bc2ff
This patch adds a check to make sure the config file passed to
vnet-create is correct.  This is better than throwing IOError, because
IOError's are currently reported as xend communication failures.
Also, fix the IOError handling at the end of the file so we don't get
a stack dump if that path is taken.

Signed-off-by: Dan Smith <danms@us.ibm.com>
tools/python/xen/xm/main.py